package com.ruoyi.ma.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 材料供应商信息业务对象 ma_material_supplier
 *
 * @author tll
 * @date 2024-11-18
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class MaMaterialSupplierBo extends BaseEntity {

    /**
     * 清单id
     */
//    @NotNull(message = "清单id不能为空", groups = { EditGroup.class })
    private Long supplierId;

    /**
     * 项目id
     */
//    @NotNull(message = "项目id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long projectId;

    /**
     * 标段id
     */
//    @NotNull(message = "标段id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long bdId;

    /**
     * 站点id
     */
//    @NotNull(message = "站点id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long zdId;

    /**
     * 供应商名称
     */
//    @NotBlank(message = "供应商名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 供货材料
     */
//    @NotBlank(message = "供货材料不能为空", groups = { AddGroup.class, EditGroup.class })
    private String ghcl;
    /**
     * 甲供材标准清单类型值(字典值)
     */
    private String ghclDictValue;

    /**
     * 联系人
     */
//    @NotBlank(message = "联系人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String contacts;

    /**
     * 联系电话
     */
//    @NotBlank(message = "联系电话不能为空", groups = { AddGroup.class, EditGroup.class })
    private String phone;

    /**
     * 传真
     */
//    @NotBlank(message = "传真不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fax;

    /**
     * 移动电话
     */
//    @NotBlank(message = "移动电话不能为空", groups = { AddGroup.class, EditGroup.class })
    private String mobile;

    /**
     * 地址
     */
//    @NotBlank(message = "地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String address;

    /**
     * 简介
     */
//    @NotBlank(message = "简介不能为空", groups = { AddGroup.class, EditGroup.class })
    private String introduction;

    /**
     * 备注
     */
//    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;

    /**
     * 附件id
     */
//    @NotBlank(message = "附件id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fileId;
    /**
     * 部门id
     */
//    @NotBlank(message = "部门id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String deptId;
    /**
     * 部门名称
     */
//    @NotBlank(message = "部门名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String deptName;

}
